package cn.four.hqServer.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cn.four.hqServer.common.enums.TranStatusEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author znb
 * @since 2023-02-23
 */
@TableName("hq_tran_user")
@ApiModel(value = "HqTranUser对象", description = "")
public class HqTranUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键作用，相当于流水单号")
    @TableId
    private Long id;

    @ApiModelProperty("银行卡号")
    private String cardId;

    @ApiModelProperty("业务类型")
    private Integer businessType;

    @ApiModelProperty("交易金额")
    private BigDecimal tranAmount;

    @ApiModelProperty("交易后金额")
    private BigDecimal tranAfterAmount;

    @ApiModelProperty("交易时间")
    private LocalDateTime tranTime;

    @ApiModelProperty("对方姓名")
    private String tranName;

    @ApiModelProperty("对方卡号")
    private String tranCardId;

    @ApiModelProperty("备注，摘要")
    private String notes;

 
    
    

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }
    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }
    public BigDecimal getTranAmount() {
        return tranAmount;
    }

    public void setTranAmount(BigDecimal tranAmount) {
        this.tranAmount = tranAmount;
    }
    public BigDecimal getTranAfterAmount() {
        return tranAfterAmount;
    }

    public void setTranAfterAmount(BigDecimal tranAfterAmount) {
        this.tranAfterAmount = tranAfterAmount;
    }
    public LocalDateTime getTranTime() {
        return tranTime;
    }

    public void setTranTime(LocalDateTime tranTime) {
        this.tranTime = tranTime;
    }
    public String getTranName() {
        return tranName;
    }

    public void setTranName(String tranName) {
        this.tranName = tranName;
    }
    public String getTranCardId() {
        return tranCardId;
    }

    public void setTranCardId(String tranCardId) {
        this.tranCardId = tranCardId;
    }
    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    @Override
    public String toString() {
        return "HqTranUser{" +
            "id=" + id +
            ", cardId=" + cardId +
            ", businessType=" + businessType +
            ", tranAmount=" + tranAmount +
            ", tranAfterAmount=" + tranAfterAmount +
            ", tranTime=" + tranTime +
            ", tranName=" + tranName +
            ", tranCardId=" + tranCardId +
            ", notes=" + notes +
        "}";
    }
}
